<%@ page contentType="text/html;charset=GBK" %>
<%@ page import="java.util.*" %>
<%@ page import="com.ionglobal.db.*" %>
<%@ page import="com.ionglobal.lib.*" %>
<%@ page import="com.ionglobal.cms.*" %>
<%@ page import="com.ionglobal.misc.*" %>

<%@ include file="../check_right.jsp" %>

<%@ include file="../init_include.jsp" %>
<%		
	String sql="";
	String[] a=request.getParameterValues("uploadUser");
	if ( (a!=null)&&(a.length>0) )
	{
		String tmpStr="";
		for (int i=0;i<a.length;i++)
		{
			tmpStr=tmpStr+a[i]+",";
		}
		tmpStr=tmpStr.substring(0,tmpStr.length()-1);
		sql="delete from cms_pic_permission where userid in("+tmpStr+")";
		Permission.delUploadUser(dbi,sql);
	}
%>
<%@ include file="../init_free.jsp" %>	
<%
	response.sendRedirect("cmsUploadCommission.jsp");
%>	
